:root {
  --color-50: rgb(50, 50, 93);
  --color-525F7F: #525f7f;
  --color-8898AA: #8898aa;
  --color-11: rgb(11, 21, 38);
  --color-32325d: #32325d;
  --color-AAAAAA: #aaaaaa;
  --color-d2e4ff: #d2e4ff;
  --color-222222: #222222;
  --color-00c8a5: #00c8a5;
  --color-rgba: rgba(0, 200, 165, 0.075);
  --color-18D7BE: #18d7be;
  --color-909399: #909399;
  --color-303133: #303133;
  --color-3ac2a2: #3ac2a2;
  --size-t1: 20px;
  --size-t2: 18px;
  --size-t3: 16px;
  --size-w: bold;
  --color-606266: #606266;
  --color-212529: #212529;
  --color-cheng20: rgba(255, 132, 97, 0.2);
  --color-22: #222222;
  --color-43: #434343;
  --color-f5: #f5f5f5;
  --color-e5: #e5e5e5;
  --color-fa: #fafafa;
  --color-FF8461: #ff8461;
  --el-color-primary: var(--color-cheng) !important;
  --el-color-primary-light-9: #fff !important;
  --el-color-primary-light-7: var(--el-border-color-base) !important;
  --color-1f: #1f1f1f;
  --color-d9: #d9d9d9;
  --cloor-1f: #1f1f1f;
  --color-cheng2: #d96248;
  --color-cheng3: #b34532;
  --color-cheng: #ff8461;
  --el-dialog-padding-primary: 0px;
  --color-2CDC87: #2cdc87;
  --color-8c8c8c: #8c8c8c;
  --color-c4: #c4c4c4;
  --color-red: #E5544D;
  --color-red2: #C8261D;
  --color-red3: #EF9590;
  --color-yellow: #FFCA00;
  --color-yellow2: #F2C20B;
  --color-yellow3: #FFE480;
  --color-green: #33AC4F;
  --color-green2: #2AA246;
  --color-green3: #75E18E;
  --color-blue: #197AE3;
  --color-blue2: #146CCB;
  --color-blue3: #69AEF7;
  --color-purple: #761DCE;
  --color-purple2: #6B17BF;
  --color-purple3: #E0C6FA;

  --color--117: rgba(117, 117, 117, .4);

  /* ojSass */
  --sass-color-blue: #4683fa;
  --sass-color-blue2: #79bbff;
  --sass-color-blue3: #69AEF7;
}

#app .el-button--primary.is-plain,
.el-button--primary.is-text {
  --el-button-border-color: var(--color-cheng);
}

.bgD2E4FF {
  background-color: var(--color-d2e4ff) !important;
}

#app {
  font-family: Microsoft YaHei, Arial;
  background-color: #fafafa;
  --el-color-success: var(--color-2CDC87);
  --el-color-primary-light-3: var(--color-cheng2);
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

/* .text-x {
    color: var(--color-525F7F);
} */

.text-32 {
  color: var(--color-303133);
}

.text-5e {
  color: #5e72e4 !important;
}

.text-5e:hover {
  background-color: rgb(94, 114, 228);
  color: #fff;
}

.text-82 {
  color: rgb(82, 95, 127) !important;
}

#app .el-form-item__label {
  color: var(--color-43);
  text-align: left;
}

.text-525f7f {
  color: var(--color-525F7F);
}

.text-8898AA {
  color: var(--color-8898AA);
}

#app .el-button--small {
  --el-border-radius-base: 3px;
}

.text-50 {
  color: var(--color-50) !important;
}

/* .table-hover tbody tr:hover {
    color: #212529;
    background-color:  var(--color-rgba) !important;
} */

.text-icon {
  height: 32px;
  border: 1px solid;
  border-color: var(--color-43);
  border-radius: 8px;
  line-height: 30px;
  font-size: 14px;
  font-weight: unset;
  background: var(--color-43);
  display: inline-block;
  padding-left: 5px;
  overflow: hidden;
}

.text-icon .text-icon-title {
  color: #fff;
  overflow: hidden;
  transition: width 0.5s;
  width: 1px;
  height: 30px;
  line-height: 30px;
}

.text-icon .text-icon-title1 {
  color: #fff;
  overflow: hidden;
  transition: width 0.5s;
  width: 1px;
  height: 30px;
  line-height: 30px;
}

.text-icon .icon {
  color: #fff;
  padding-right: 3px;
  font-size: 24px;
  align-self: auto;
  vertical-align: middle;
}

.text-icon .text-icon-data {
  background-color: #fff;
  height: 30px;
  display: inline-block;
  padding-left: 8px;
  padding-right: 8px;
  line-height: 32px;
}

.text-icon:hover .text-icon-title {
  display: inline-block;
  width: 35px;
}

.text-icon:hover .text-icon-title1 {
  display: inline-block;
  width: 35px;
}

/* #app .el-form-item__label {
  position: relative;
}

#app .el-form-item__label::before {
  position: absolute;
  left: -10px;
} */
/* 评测结果 */
.Accepted {
  color: var(--color-3ac2a2);
}

.bg-MemoryLimitExceeded {
  background-color: var(--color-303133);
  border: none !important;
}

.bg-Accepted {
  background-color: var(--color-3ac2a2) !important;
  border: none !important;
}

.Accepted .div-1-1 {
  border-top-color: var(--color-3ac2a2);
}

.Unaccepted {
  color: #f5ac50;
}

.bg-Unaccepted {
  background-color: #f5ac50 !important;
  border: none !important;
}

.Unaccepted .div-1-1 {
  border-top-color: #f5ac50;
}

.WrongAnswer {
  color: #f5ac50;
}

.bg-WrongAnswer {
  background-color: #f5ac50;
  border: none !important;
}

.CompileError {
  color: #ff5249;
}

.bg-CompileError {
  background-color: #ff5249 !important;
  border: none !important;
  
}

.CompileError .div-1-1 {
  border-top-color: #ff5249;
}

.RuntimeError {
  color: blueviolet;
}

.bg-RuntimeError {
  background-color: blueviolet !important;
  border: none !important;
}

.RuntimeError .div-1-1 {
  border-top-color: blueviolet;
}

.cu {
  cursor: pointer;
}

/* 
#app a {
    color: var(--color-212529);
}

#app a:hover {
    color: var(--color-cheng);
} */

#app .el-button--text {
  color: var(--color-212529);
  background-color: rgba(0, 0, 0, 0);
  border-color: rgba(0, 0, 0, 0);
}

#app .el-button--text:hover {
  color: var(--color-cheng);
  background-color: rgba(0, 0, 0, 0);
  border-color: rgba(0, 0, 0, 0);
}

.el-dropdown-menu__item:focus,
.el-dropdown-menu__item:not(.is-disabled):hover {
  color: var(--color-cheng) !important;
  background-color: transparent !important;
}

#app .el-tabs__item.is-active {
  color: var(--color-43);
  font-weight: 700;
}

#app .el-tabs__item:hover {
  color: var(--color-43);
}


#app .el-tabs__active-bar {
  background-color: var(--color-cheng);
}

#home .el-tabs__active-bar {
  height: 4px;
}

#app #home .el-tabs__nav-wrap::after {
  height: 1px;
}

.cu {
  cursor: pointer;
}

#app .el-radio__input.is-checked+.el-radio__label {
  color: var(--color-cheng);
}

#app .el-radio__input.is-checked .el-radio__inner {
  background-color: var(--color-cheng);
  border-color: var(--color-cheng);
}

#app .el-radio__inner:hover {
  border-color: var(--color-cheng);
}

#body .el-select-dropdown.is-multiple .el-select-dropdown__item.selected {
  color: var(--color-cheng);
}

#app .el-button-text {
  font-weight: 400;
}

#app .text-decoration {
  text-decoration: none;
}

#app .m-p-1 {
  padding: 4px;
}

#app .m-p-2 {
  padding: 8px;
}

#app .m-p-3 {
  padding: 12px;
}

#app .m-p-4 {
  padding: 16px;
}

#app .m-p-5 {
  padding: 20px;
}

#app .m-p-6 {
  padding: 24px;
}

#app .m-pt-6 {
  padding-top: 24px;
}

#app .m-pl-6 {
  padding-left: 24px;
}

#app .text-right {
  text-align: right;
}

#app .m-mt-1 {
  margin-top: 4px;
}

#app .m-mr-1 {
  margin-right: 4px;
}

#app .m-mr-2 {
  margin-right: 8px;
}

#app .m-mr-4 {
  margin-right: 16px;
}

#app .m-ml-1 {
  margin-left: 4px;
}

#app .m-mb-3 {
  margin-bottom: 12px;
}

#app .m-mb-6 {
  margin-bottom: 24px;
}

#app .m-mt-3 {
  margin-top: 12px;
}

#app .m-ml-6 {
  margin-left: 24px;
}

#app .m-mr-6 {
  margin-right: 24px;
}

.bt-1 {
  background: #8c8c8c;
  color: #ffffff;
  border-width: 0px;
  width: 80px;
  text-align: center;
}

.bt-2 {
  background: #4871ff;
  color: #ffffff;
  border-width: 0px;
  width: 80px;
  text-align: center;
}

.bt-3 {
  background: #ff8461;
  color: #ffffff;
  border-width: 0px;
  width: 80px;
  text-align: center;
}

.bt-4 {
  background: #8c8c8c;
  color: #ffffff;
  border-width: 0px;
  width: 80px;
  text-align: center;
}

#app .m-border-2 {
  border-radius: 2px;
  overflow: hidden;
}

#app .m-pr-6 {
  padding-right: 24px;
}

#app .bg-f5 {
  background-color: var(--color-f5);
}

#app .container-xl {
  max-width: 1200px;
}

#app .table tr td {
  font-size: 14px;
}

#app .h5,
h5 {
  font-size: 18px !important;
}

#home .el-input-group__append,
.el-input-group__prepend {
  background-color: var(--color-43);
}

#home .el-input-group__append,
.el-input-group__prepend:hover {
  background-color: var(--color-43);
}

.text-right {
  text-align: right;
}

#question .nav-link {
  color: var(--color-43);
}

#question .nav-link:hover {
  color: var(--color-43);
}

#app .btn-group-sm>.btn,
#app .btn-sm {
  padding: 4px 8px;
  font-size: 12px;
}

button+button {
  margin-left: 10px;
}

#app .m-t-l-28 {
  line-height: 28px;
}

#app .m-pl-1 {
  padding-left: 4px;
}

#app .m-mt-6 {
  margin-top: 24px;
}

#app .m-mt-4 {
  margin-top: 16px;
}

#app .m-pl-6 {
  padding-left: 24px;
}

body .el-button {
  --el-button-font-weight: var(--el-font-weight-primary);
  --el-button-border-color: var(--color-43);
  --el-button-background-color: var(--el-color-white);
  --el-button-hover-color: #fff;
  --el-button-hover-border-color: var(--color-cheng);
  --el-button-hover-bg-color: var(--color-cheng);
  --el-button-font-color: var(--el-text-color-regular);
  --el-button-disabled-font-color: var(--el-text-color-placeholder);
  --el-button-disabled-background-color: var(--el-color-white);
  --el-button-disabled-border-color: var(--el-border-color-light);
  --el-button-divide-border-color: rgba(255, 255, 255, 0.5);
  --el-button-active-font-color: #000;
  --el-button-active-border-color: var(--color-43);
  --el-button-active-bg-color: var(--color-43);
  --el-button-disabled-bg-color: var(--color-cheng3);
  --el-button-disabled-border-color: var(--color-cheng3);
  --el-border-radius-base: 2px;
  --el-button-hover-text-color: #fff;
  padding: 6px 12px;
}

body .el-button--small {
  padding: 4px 10px;
}

body .el-button--primary:not(.is-text):focus,
body .el-button--primary:not(.is-text):hover {
  color: #fff;
  border-color: var(--el-button-hover-border-color);
  background-color: var(--el-button-hover-bg-color);
}

body .el-button--default:active {
  color: var(--el-button-active-font-color);
  border-color: var(--el-button-active-border-color);
  background-color: var(--el-button-active-background-color);
}

body .el-button--primary {
  --el-button-font-color: #ffffff;
  --el-button-background-color: var(--color-cheng);
  --el-button-border-color: var(--color-cheng);
  --el-button-hover-color: #fff;
  --el-button-hover-bg-color: var(--color-cheng2);
  --el-button-active-font-color: #000;
  --el-button-active-background-color: var(--color-cheng3);
  --el-button-active-border-color: var(--color-cheng3);

}

body .el-button--primary:focus,
body .el-button--primary:hover {
  background: var(--el-button-hover-bg-color);
  border-color: var(--el-button-hover-color);
  color: var(--el-button-hover-bg-color);
}

body .el-button--info {
  --el-button-font-color: #ffffff;
  --el-button-background-color: var(--color-43);
  --el-button-border-color: var(--color-43);
  --el-button-hover-color: var(--color-43);
  --el-button-active-font-color: #ffffff;
  --el-button-active-background-color: var(--color-43);
  --el-button-active-border-color: var(--color-43);
}

body .el-button--success {
  --el-button-font-color: #ffffff;
  --el-button-background-color: #67c23a;
  --el-button-border-color: #67c23a;
  --el-button-hover-color: #85ce61;
  --el-button-active-font-color: #e6e6e6;
  --el-button-active-background-color: #529b2e;
  --el-button-active-border-color: #529b2e;
}

.ztcolor:hover {
  color: var(--color-cheng) !important;
}


.text-dark:hover {
  color: var(--color-cheng) !important;
}

#app .nav-link:focus,
#app .nav-link:hover {
  color: var(--color-cheng);
}

#app .el-overlay-dialog {
  position: static;
}

#app {
  color: var(--color-43);
}

body .table {
  color: var(--color-43);
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--color-43);
  --bs-table-striped-bg: var(--color-f5);
  --bs-table-active-color: var(--color-43);
  --bs-table-active-bg: rgba(0, 0, 0, 0.1);
  --bs-table-hover-color: var(--color-cheng);
  --bs-table-hover-bg: #fff;
  width: 100%;
  margin-bottom: 1rem;
  vertical-align: top;
  border-color: #dee2e6;
}

body .table-striped>tbody>tr:nth-of-type(odd) {
  --bs-table-accent-bg: var(--bs-table-striped-bg) !important;
}

.borshow {
  filter: drop-shadow(0px 0.3px 0.9px rgba(0, 0, 0, 0.1)) drop-shadow(0px 1.6px 3.6px rgba(0, 0, 0, 0.13));
  border-radius: 2px;
}

.el-picker-panel__shortcut {
  margin-left: 0px !important;
}

#app .el-table {
  --el-table-header-font-color: var(--color-43);
}

.question-html img {
  width: auto;
  height: auto;
  max-width: 100%;
}

.question-html table {
  border-collapse: collapse;
  border-spacing: 0;
  display: block;
  width: 100%;
  overflow: auto;
  word-break: keep-all;
  margin: 10px;
  font-variant-numeric: tabular-nums;
}

.question-html td {
  border: 1px solid #ddd;
  padding: 6px 13px;
}

.question-html th {
  border: 1px solid #ddd;
  padding: 6px 13px;
}

.question-html h1 {
  font-size: 16px;
}

.question-html h2 {
  font-size: 16px;
}

.question-html h3 {
  font-size: 16px;
}

.question-html h4 {
  font-size: 16px;
}

.question-html h5 {
  font-size: 16px;
}

.questiontypebutton-default {
  background-color: #fff;
  color: #000;
}

.questiontypebutton-default:hover {
  background-color: var(--color-212529);
  color: #000;
}

.TimeLimitExceeded {
  color: var(--color-32325d);
}


.bg-TimeLimitExceeded {
  background-color: var(--color-32325d);
}

body {
  font-size: 0.875rem;
}

#app .el-form-item__content {
  display: block;
}

#app .el-pagination {
  display: inline-flex;
}

#app .btn:focus {
  box-shadow: none;
}

a {
  text-decoration: none;
}

.text-html img {
  max-width: 100%;
}

.text-overflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* .editor-content-view {
  border: 3px solid #ccc;
  border-radius: 5px;
  padding: 0 10px;
  margin-top: 20px;
  overflow-x: auto;
} */

.editor-content-view p,
.editor-content-view li {
  white-space: pre-wrap;
  /* 保留空格 */
}

.editor-content-view blockquote {
  border-left: 8px solid #d0e5f2;
  padding: 10px 10px;
  margin: 10px 0;
  background-color: #f1f1f1;
}

.editor-content-view code {
  font-family: monospace;
  background-color: #eee;
  padding: 3px;
  border-radius: 3px;
}

.editor-content-view pre>code {
  display: block;
  padding: 10px;
}

.editor-content-view table {
  border-collapse: collapse;
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--color-43);
  --bs-table-striped-bg: var(--color-f5);
  --bs-table-active-color: var(--color-43);
  --bs-table-active-bg: rgba(0, 0, 0, 0.1);
  --bs-table-hover-color: var(--color-cheng);
  --bs-table-hover-bg: #fff;
  width: 100%;
  margin-bottom: 1rem;
  vertical-align: top;
  border-color: #dee2e6;
}

.editor-content-view table>:not(caption)>*>* {
  padding: .5rem .5rem;
}

.editor-content-view table>tbody {
  vertical-align: inherit;
}

.editor-content-view td,
.editor-content-view th {
  border: 1px solid #ccc;
  min-width: 50px;
  height: 20px;
  border-color: inherit;
  border-style: solid;
}

.editor-content-view th {
  background-color: #f1f1f1;
}

.editor-content-view ul,
.editor-content-view ol {
  padding-left: 20px;
}

.editor-content-view input[type="checkbox"] {
  margin-right: 5px;
}

.text-left {
  text-align: left;
}


.el-tag .el-tag__close:hover {
  --el-tag-hover-color: #fff;
  --el-color-white: var(--color--cheng);
}

#app .el-tag {
  --el-tag-border-radius: 2px;
}

@font-face {
  font-family: 'iconfont';
  /* Project id 2592711 */
  src: url('//at.alicdn.com/t/c/font_2592711_u9evhu7ytp9.woff2?t=1671869403191') format('woff2'),
    url('//at.alicdn.com/t/c/font_2592711_u9evhu7ytp9.woff?t=1671869403191') format('woff'),
    url('//at.alicdn.com/t/c/font_2592711_u9evhu7ytp9.ttf?t=1671869403191') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}

.my-home-div {
  --my-home-div-height: 48px;
  border: 1px solid rgba(117, 117, 117, 0.4);
  box-shadow: 0px 0.3px 0.9px rgba(0, 0, 0, 0.1), 0px 1.6px 3.6px rgba(0, 0, 0, 0.13);
  border-radius: 4px;
  margin-bottom: 24px;
  overflow-x: hidden;
  background-color: #fff;
}

.my-home-div-line {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 97.4%, rgba(0, 0, 0, 0.6) 100%, rgba(0, 0, 0, 0.2) 100%, rgba(0, 0, 0, 0.6) 100%);
  height: var(--my-home-div-height);
  line-height: calc(var(--my-home-div-height) - 2px);
  font-size: 16px;
  padding-left: 14px;
  padding-right: 14px;
  font-weight: 700;
}

#app .text-primary {
  color: var(--color--cheng) !important;
}

/*  ======================================= ojSass =======================================  */
#app.ojSass {
  --el-color-success: var(--color-2CDC87);
  --el-color-primary-light-3: var(--color-cheng2);
  --background-color: #f0f4fe;
  --el-menu-hover-bg-color: var(--el-color-primary-light-9);
  --el-color-primary-light-9: #ecf5ff;

  font-family: Microsoft YaHei, Arial;
  background-color: var(--background-color);

  --container-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  --container-border-radius: 8px;

  --sass-color-blue: #4683fa;
  --sass-color-blue2: #79bbff;
  --sass-color-blue3: #69AEF7;
  --sass-color-blue4: rgba(70, 131, 250, 0.1);
  --sass-color-blue-rgba5: rgba(70, 131, 250, 0.5);
  --sass-color-blue-rgba6: rgba(70, 131, 250, 0.12);

  /* el */
  --el-tabs-item-height: 50px;
  --el-color-primary: var(--sass-color-blue);

}

#app.ojSass .emoji {
  font-size: 20px;
}

/* hover 状态下字体颜色 */
#app.ojSass .hover-color:hover {
  color: var(--color-cheng) !important;
}

#app.ojSass .margin-top20 {
  margin-top: 20px !important;
}

#app.ojSass .margin-top10 {
  margin-top: 10px !important;
}

#app.ojSass .margin-right20 {
  margin-right: 20px !important;
}

#app.ojSass .margin-right12 {
  margin-right: 12px;
}

#app.ojSass .margin-left20 {
  margin-left: 20px !important;
}

#app.ojSass .margin-left10 {
  margin-left: 10px !important;
}

#app.ojSass .margin-bottom20 {
  margin-bottom: 20px !important;
}

#app.ojSass .margin-bottom0 {
  margin-bottom: 0 !important;
}

#app.ojSass .margin0 {
  margin: 0 !important;
}

#app.ojSass .padding20 {
  padding: 20px !important;
}

#app.ojSass .padding0-20 {
  padding: 0 20px !important;
}

#app.ojSass .padding0 {
  padding: 0 !important;
}

#app.ojSass .font-size12 {
  font-size: 12px !important;
}

#app.ojSass .font-size13 {
  font-size: 13px;
}

#app.ojSass .font-size14 {
  font-size: 14px !important;
}

#app.ojSass .height-100 {
  height: 100%;
}

#app.ojSass .divider {
  border-top-width: 2px;
  margin: -10px 0 10px 0;
}
#app.ojSass .flex-column {
  display: flex; 
  flex-direction: column;
   align-items: flex-start;
}

/* 带有icon的小标题 */
#app.ojSass .icon-text {
  display: inline-flex;
  align-items: center;
}

#app.ojSass .text-title {
  margin-bottom: 16px;
  font-size: 18px;
  color: rgba(51, 51, 51, 1);
}

#app.ojSass .text-primary {
  color: var(--sass-color-blue) !important;
  font-size: 20px;
  margin-right: 4px;
}

/* 所有可点击的地方均需要 */
.cursor-pointer {
  cursor: pointer;
}

#app.ojSass .container-box {
  /* max-width: 1200px; */
  /* margin: 0 auto; */
}

/* 圆角阴影 */
#app.ojSass .container-header {
  border-radius: var(--container-border-radius) !important;
  box-shadow: var(--container-box-shadow);
  overflow: hidden;
}

#app.ojSass .container-content,
#app.ojSass .container-right,
#app.ojSass .container-aside {
  border-radius: var(--container-border-radius);
  box-shadow: var(--container-box-shadow);
}

/* 搜索按钮 */
.container-header-form-search-btn {
  margin-left: 20px;
}

/* 首页 box-shadow */
#app.ojSass .my-home-div {
  border: none;
  border-radius: var(--container-border-radius);
  box-shadow: var(--container-box-shadow);
  margin-bottom: 24px;
  overflow-x: hidden;
  background-color: #fff;
  --my-home-div-height: 48px;
}

#app.ojSass .my-home-div .my-home-div-line {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 97.4%, rgba(0, 0, 0, 0.6) 100%, rgba(0, 0, 0, 0.2) 100%, rgba(0, 0, 0, 0.6) 100%);
  height: calc(var(--my-home-div-height) - 1px);
  line-height: calc(var(--my-home-div-height) - 2px);
  font-size: 16px;
  padding-left: 14px;
  padding-right: 14px;
  font-weight: 700;
}

/* 知识点、标签 */
#app.ojSass .question-label,
#app.ojSass .question-intable-label {
  margin: 0 4px;
  padding: 0 10px;
  box-sizing: border-box;
  border-radius: 3px;
}

#app.ojSass .question-intable-label {
  height: 28px;
}

#app.ojSass .question-label {
  height: 32px;
}

/* 难度 */
#app.ojSass .difficulty-1,
#app.ojSass .difficulty-2,
#app.ojSass .difficulty-3,
#app.ojSass .difficulty-4,
#app.ojSass .difficulty-5,
#app.ojSass .difficulty-6 {
  box-sizing: border-box;
  width: 78px;
  height: 28px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  color: #ffffff;
  padding: 4px;
  display: inline-block;
  line-height: 20px;
  font-size: 12px;
  border-radius: 4px;
  box-shadow: var(--el-box-shadow-light);
}

#app.ojSass .difficulty-1 {
  background-color: rgb(254, 75, 97);
}

#app.ojSass .difficulty-2 {
  background-color: rgb(243, 157, 11);
}

#app.ojSass .difficulty-3 {
  background-color: rgb(255, 193, 15);
}

#app.ojSass .difficulty-4 {
  background-color: rgb(81, 197, 19);
}

#app.ojSass .difficulty-5 {
  background-color: rgb(49, 153, 220);
}

#app.ojSass .difficulty-6 {
  background-color: #9243C8;
}

#app.ojSass .difficulty-7 {
  background-color: rgb(14, 29, 105);
  color: #ffffff;
}


.difficulty-1 {
  background-color: rgb(254, 75, 97);
  color: #ffffff;
  padding: 3px 8px;
  display: inline-block;
  line-height: 20px;
  font-size: 12px;
  border-radius: 2px;
  box-shadow: var(--el-box-shadow-light);
}

.difficulty-2 {
  background-color: rgb(243, 157, 11);
  color: #ffffff;
  padding: 3px 8px;
  display: inline-block;
  line-height: 20px;
  font-size: 12px;
  border-radius: 2px;
  box-shadow: var(--el-box-shadow-light);
}

.difficulty-3 {
  background-color: rgb(255, 193, 15);
  color: #ffffff;
  padding: 3px 8px;
  display: inline-block;
  line-height: 20px;
  font-size: 12px;
  border-radius: 2px;
  box-shadow: var(--el-box-shadow-light);

}

.difficulty-4 {
  background-color: rgb(81, 197, 19);
  color: #ffffff;
  padding: 3px 8px;
  display: inline-block;
  line-height: 20px;
  font-size: 12px;
  border-radius: 2px;
  box-shadow: var(--el-box-shadow-light);
}

.difficulty-5 {
  background-color: rgb(49, 153, 220);
  color: #ffffff;
  padding: 3px 8px;
  display: inline-block;
  line-height: 20px;
  font-size: 12px;
  border-radius: 2px;
  box-shadow: var(--el-box-shadow-light);
}

.difficulty-6 {
  background-color: rgb(49, 153, 220);
  color: #ffffff;
  padding: 3px 8px;
  display: inline-block;
  line-height: 20px;
  font-size: 12px;
  border-radius: 2px;
  box-shadow: var(--el-box-shadow-light);
}

.difficulty-7 {
  background-color: rgb(14, 29, 105);
  color: #ffffff;
  padding: 3px 8px;
  display: inline-block;
  line-height: 20px;
  font-size: 12px;
  border-radius: 2px;
  box-shadow: var(--el-box-shadow-light);
}

#app.ojSass code {
  flex: 1;
  /* 填充剩余空间 */
}

#app.ojSass .code-pre {
  /* el-scrollbar 是 overflow: hidden; el-scrollbar__view必须是浮动或 display: inline-block 才能出现滚动条 */
  /* display: inline-block ; */
  font-family: "Microsoft Yahei";
  color: #000;
  display: block;
}

/* 代码预览滚动条的宽度 */
#app.ojSass .code-pre::-webkit-scrollbar {
  width: 5px;
  /* y轴滚动条宽度 */
  height: 5px;
  /* x轴滚动条宽度 */
}

/* 滚动条的滑块 */
#app.ojSass .code-pre::-webkit-scrollbar-thumb {
  cursor: pointer;
  background-color: #0003;
  border-radius: 10px;
  transition: all .2s ease-in-out;
}

/* 滚动条轨道内阴影+圆角 */
#app.ojSass .code-pre::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
}

/* 测试点输入 文本域 */
/* 滚动条整体部分 */
#app.ojSass .content-input.el-textarea .el-textarea__inner::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/*滚动条里面的小方块，能向上向下移动*/
#app.ojSass .content-input.el-textarea .el-textarea__inner::-webkit-scrollbar-thumb {
  cursor: pointer;
  background-color: #0003;
  border-radius: 10px;
  transition: all .2s ease-in-out;
}

/*滚动条的轨道*/
#app.ojSass .content-input.el-textarea .el-textarea__inner::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
}

/*  */
#app.ojSass .translateX-50 {
  transform: translateX(55%)
}

/* 题目详情拖拽的的div */
#app.ojSass #question .position-relative {
  overflow: visible;
}

.disable-select {
  user-select: none;
}

#app.ojSass .zrleft,
#app.ojSass .zrUp {
  opacity: 0;
  background-color: transparent;
  /* test */
  /* background-color:#146CCB ; */
  z-index: 99;
  transition: all 0.3s;
  /* border-radius: var(--container-border-radius); */
}

#app.ojSass .zrleft {
  cursor: col-resize;
  position: absolute;
  top: 50%;
  transform: translate(-100%, -50%);
  /* height: calc(100% - var(--container-border-radius)); */
  height: 100%;
  margin: auto 0;
  width: 15px;
}

#app.ojSass .zrUp {
  cursor: row-resize;
  height: 15px;
  width: 100%;
  /* padding: 10px 0; */
  /* width: calc(100% - var(--container-border-radius)); */
  /* margin-top: var(--container-margin); */
  /* margin-bottom: -2px; */
}

#app.ojSass .zrleft:hover,
#app.ojSass .zrUp:hover {
  opacity: 1;
  background-color: var(--sass-color-blue-rgba6);
}

#app.ojSass .zrleft:hover {
  /* width: 4px; */
}

#app.ojSass .zrUp:hover {
  /* height: 4px; */
}

/* ============================== element-plus ============================== */
/* 高度自适应 */
#app.ojSass .el-header {
  height: auto !important;
}

/* el-button */
#app.ojSass .el-button {
  --el-button-disabled-bg-color: var(--sass-color-blue3);
  --el-button-disabled-border-color: var(--sass-color-blue3);
}

#app.ojSass .el-button--primary {
  --el-button-background-color: var(--sass-color-blue);
  --el-button-border-color: var(--sass-color-blue);
  --el-button-hover-border-color: var(--sass-color-blue2);
  --el-button-hover-bg-color: var(--sass-color-blue2);
  --el-button-active-background-color: var(--sass-color-blue3);
  --el-button-active-border-color: var(--sass-color-blue3);
}

#app.ojSass .el-button--primary:not(.is-text):hover {
  color: #fff;
  border-color: transparent;
  background-color: var(--el-button-hover-bg-color);
}

/* type:info 按钮取消选中但是没有失去焦点 */
#app.ojSass .el-button.el-button--info:focus {
  color: var(--el-button-text-color);
  border-color: var(--el-button-border-color);
  background-color: var(--el-button-bg-color);
}

/* type:info 按钮获得焦点 */
#app.ojSass .el-button--primary:not(.is-text):focus {
  background-color: var(--el-button-background-color);
}

#app.ojSass .el-radio__input.is-checked+.el-radio__label {
  color: var(--sass-color-blue);
}

#app.ojSass .el-radio__input.is-checked .el-radio__inner {
  background-color: var(--sass-color-blue);
  border-color: var(--sass-color-blue);
}

#app.ojSass .el-radio__inner:hover {
  border-color: var(--sass-color-blue);
}

/* el-table */
#app.ojSass .el-table th.el-table__cell {
  color: #333;
  font-size: 14px;
}

/* 定义高亮行的样式 */
#app.ojSass .el-table .el-table__row.highlight-row {
  background-color: var(--background-color) !important;
  color: var(--sass-color-blue);
}

#app.ojSass .el-table tbody tr:hover>td {
  color: var(--color-cheng) !important;
}

#app.ojSass .el-table .padding0 .cell {
  padding: 0 !important;
}

/* tabs */
/* header背景色 */
#app.ojSass .el-tabs__header {
  background-color: rgba(244, 248, 255, 1);
}

#app.ojSass .el-tabs--border-card {
  /* border: none; */
  height: 100%;
  border-radius: var(--container-border-radius) !important;
}

#app.ojSass .el-tabs--border-card .el-tabs__item {
  height: 48px;
  /* font-size: 18px; */
}

#app.ojSass .el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
  color: var(--color-cheng);
  border-top: 4px solid var(--color-cheng);
  font-weight: bold;
}

#app.ojSass #p20.el-tabs--border-card>.el-tabs__content {
  padding: 0 20px;
}

#app.ojSass .el-tabs--border-card .el-form-item {
  margin-bottom: 0px;
}

#app.ojSass .el-tabs__item:hover {
  color: var(--el-color-primary);
  cursor: pointer;
}

#app.ojSass .el-tabs__item.is-active {
  color: var(--el-color-primary);
}

/* tag close-icon的hover效果 */
#app.ojSass .el-tag .el-tag__close:hover {
  --el-tag-hover-color: var(--sass-color-blue-rgba5);
  --el-color-white: #fff;
}

#app.ojSass .el-tag--dark.el-tag--success {
  background-color: #22B14C;
  border: none;
}

#app.ojSass .el-input-group__append,
.el-input-group__prepend {
  background-color: #fff !important;
  color: #000 !important;
}

#app.ojSass .el-input-group__append,
.el-input-group__prepend:hover {
  background-color: #fff;
  color: #000;
}

/* dialog弹出层 title el-dialog__title 样式统一 */
#app.ojSass .el-dialog {
  --el-dialog-l-padding: 24px;
  --el-dialog-m-padding: 10px;
  padding: 0;
}

#app.ojSass .el-overlay-dialog .el-dialog__header {
  line-height: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  padding: var(--el-dialog-m-padding) 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dcdfe6;
  box-shadow: var(--container-box-shadow);
}

#app.ojSass .el-dialog .el-dialog__header-title {
  margin-left: var(--el-dialog-m-padding);
}

#app.ojSass .el-dialog .el-dialog__headerbtn {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
}

#app.ojSass .el-dialog__body {
  padding: var(--el-dialog-l-padding);
  height: auto;
}

#app.ojSass .el-dialog__footer {
  padding: var(--el-dialog-l-padding);
  padding-top: 0;
}

#app.ojSass .el-overlay-dialog {
  position: fixed !important;
}

/* 暂时将老的 (--color-cheng) 改为 blue*/